package com.hitqz.robot.api.common.dto.mapArea;

import com.hitqz.robot.api.common.entity.MapArea;
import com.hitqz.robot.api.common.entity.MapAreaPos;
import org.locationtech.jts.geom.Polygon;

import java.util.List;

/**
 * @author xupkun
 * @date 2024/6/12
 */
public class CalculateAreaMapDto {

    /**
     * 区域
     */
    private MapArea mapArea;

    /**
     * 区域上面的点
     */
    private List<MapAreaPos> mapAreaPosList;

    private Polygon polygon;

    public MapArea getMapArea() {
        return mapArea;
    }

    public void setMapArea(MapArea mapArea) {
        this.mapArea = mapArea;
    }

    public List<MapAreaPos> getMapAreaPosList() {
        return mapAreaPosList;
    }

    public void setMapAreaPosList(List<MapAreaPos> mapAreaPosList) {
        this.mapAreaPosList = mapAreaPosList;
    }

    public Polygon getPolygon() {
        return polygon;
    }

    public void setPolygon(Polygon polygon) {
        this.polygon = polygon;
    }
}
